import '@/assets/main.scss'
import { createApp } from 'vue'
import pinia from './stores'
//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey = 'AAPTxy8BH1VEsoebNVZXo8HurEpY-F4S0rTzprZc9F3sxlVOvgLl9zAKS9ZtDkUQK-o-5kVeic2HAgNSzfLX_KdnzgGuxXXBCJ9L89q9bFU--Y53ac3mZvz53YtaFTUc6-WW11HM064mLAIV8qs5wKjgK1UYPoKZNYFkSRLSNILytZ86rWf3sfO0d3f5lglwtpjy85ssNdel7NZVP5brsWtFNG0f--af1bpK5lkR3sReZtNglmgJ4MLpDLtAUPx7K52FAT1_lvtuNBbr'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
